import request from '@/utils/request'
/**@description 查询费用表列表 */
export function listPayment(query) {
  return request({
    url: '/system/payment/list',
    method: 'get',
    params: query
  })
}
/**@description 查询费用表详细 */
export function getPayment(id) {
  return request({
    url: '/system/payment/' + id,
    method: 'get'
  })
}
/**@description 新增费用表 */
export function addPayment(data) {
  return request({
    url: '/system/payment',
    method: 'post',
    data: data
  })
}
/**@description 修改费用表 */
export function updatePayment(data) {
  return request({
    url: '/system/payment',
    method: 'put',
    data: data
  })
}
/**@description 删除费用表 */
export function delPayment(id) {
  return request({
    url: '/system/payment/' + id,
    method: 'delete'
  })
}
